package com.njtoyo.taxi.admin.service.platform;

import com.njtoyo.taxi.admin.mapper.secondary.enums.VersionModel;
import com.njtoyo.taxi.admin.mapper.secondary.enums.VersionUserGroup;
import com.njtoyo.taxi.admin.rest.wrapper.platform.appVersion.AppVersionWrapper;
import com.taxi.entity.common.RestResult;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author mdf
 * @title: AppVersionService
 * @description: TODO
 * @date 2024/7/31 13:13
 */
public interface VersionService {
    RestResult list(Integer current, Integer size, String title, VersionModel appType, VersionUserGroup userGroup);

    RestResult uploadApp(MultipartFile file);

    RestResult add(AppVersionWrapper appVersionWrapper);

    RestResult getVersionInfo(Long id);

    RestResult updateById(AppVersionWrapper appVersionWrapper);
}
